Method
Namespace: Imagini.Drawing
Declared in: Imagini.Drawing.Graphics
Copies a portion of the texture to the current rendering target.
public void Draw(
Texture texture,
Rectangle? srcRect,
Rectangle? dstRect
)
texture
Texture to copy
srcRect
Source rectangle (null for copying whole texture)
dstRect
Destination rectangle (null to fill the entire render target)